﻿using BPMN.Domain;
using BPMN.Domain.Entity.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BPMN.DomianShare;
using System.Threading.Tasks;
using BPMN.Application.Contracts.DTO.Request.UserInfo;
using BPMN.Application.Contracts.DTO.Response.UserInfo;
using BPMN.Application.Contracts.DTO.Response;
using BPMN.Application.Contracts.DTO.Response.Permission;
using BPMN.Domain.Entity.Custom;
using BPMN.Application.Contracts.DTO.Request.Custom;
using BPMN.Application.Contracts.DTO.Response.Custom;

namespace BPMN.Application.IService
{
    public interface ICustomAppService : IAppServiceBase<Custom>, IScoped
    {
        Task<ResultResponseDto<int>> AddCustomInfo(CustomRequstDto entity);
        Task<ResultResponseDto<int>> UpdateCustomInfo(CustomRequstDto entity);
        Task<ResultResponseDto<List<CustomShowResponseDto>>> GetCustomInfo();
        Task<ResultResponseDto<CustomShowResponseDto>> GetCustomInfoById(int Id);
        Task<ResultResponseDto<int>> DeleleCustomInfo(int Customid);
        Task<string> GetProcessLineCode();
    }
}
